﻿using System.ComponentModel.DataAnnotations;

namespace B.S.DataBase.MyRead.API.DTOs
{
    public class LRDTO
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int LeaveId { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 请假人
        /// </summary>
        public string LeaveName { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepId { get; set; }
        /// <summary>
        /// 请假类别
        /// </summary>
        public string LeaveType { get; set; }
        /// <summary>
        /// 请假时间
        /// </summary>
        public string LeaveTime { get; set; }
        /// <summary>
        /// 请假总小时数
        /// </summary>
        public int TotalHours { get; set; }
        /// <summary>
        /// 报到时间
        /// </summary>
        public DateTime WorkTime { get; set; }

        /// <summary>
        /// 请假事由
        /// </summary>
        public string LeaveReason { get; set; }
        /// <summary>
        /// 部门领导
        /// </summary>
        public string? DepLeaders { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int ApprovalState { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 下一级审批等级
        /// </summary>
        public int Levels { get; set; }
        /// <summary>
        /// 审批意见
        /// </summary>
        public string ApprovalOpinion { get; set; }
    }
}
